 /*
Описание URange
(свойства)
*/
@interface URange : NSObject {

	int location;
	int length;
}

- (void)setLocation:(int)loc length:(int)len;

@end

@implementation URange

- (void)setLocation:(int)loc length:(int)len {
	
	location = loc;
	length = len;
}

@end

enum Days{Monday = 5, Friday};

int main (int argc, char * argv[]) {
	
	int hex;
	int dec;
	int oct;
	int a;
	int b;
	int i;
	NSString example_string;
	char c[13];
	
	c[0] = '\a';
	c[0] = '\b';
	c[0] = '\f';
	c[0] = '\n';
	c[0] = '\r';
	c[0] = '\t';
	c[0] = '\v';
	c[0] = '\\';
	c[0] = '\"';
	c[0] = '\'';
	c[0] = '\?';

	example_string = @"\a\b\f\n\r\t\v\\\'\?\"sdd";
	
	a = 2;
	b = a*5;
	
	for (i = 0; i < 10; i = i + 1) {
		
		if (a % 2 == 0 && !(a < 4) || b <= 5) {
			a = a - 1;
		}
		else {
			a = a / 7;
		}
		
		hex = 0x77BC;
		dec = 123;
		oct = 07;
		
		do {
			a = b - 1;
			NSLog(@"a\\\" = %d\n", a);
		} while (a < b*i);
	}
	
	switch (i) {
		case 0:
			a = 1;
			break;
		default:
			b = 2;
	}
	
	NSString str = @"World!\n";
	
	// objects
	
	URange range;
	
	[range setLocation:4 length:3];
	
	NSLog(@"range:\t %d %d", range.location, range.length);
	
	return 0;
}